package org.dromara.wyl.domain.bo;

import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;
import org.dromara.wyl.domain.NppDataset;

/**
 * 【请填写功能名称】业务对象 npp_dataset
 *
 * @author Lion Li
 * @date 2023-12-08
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = NppDataset.class, reverseConvertGenerate = false)
public class NppDatasetBo extends BaseEntity {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 数据集模拟器来源
     */
    @NotBlank(message = "数据集模拟器来源不能为空", groups = { AddGroup.class, EditGroup.class })
    private String simulator;

    /**
     * 数据集类型（0训练集，1测试集）
     */
    private Integer datasetType;

    /**
     * 状态种类数
     */
    @NotNull(message = "状态种类数不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer statusType;

    /**
     * 功率（100%，75%。。。）
     */
    @NotBlank(message = "功率（100%，75%。。。）不能为空", groups = { AddGroup.class, EditGroup.class })
    private String power;

    /**
     * 测点数
     */
    @NotNull(message = "测点数不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long measurementPoint;

    /**
     * 回路
     */
    @NotBlank(message = "回路不能为空", groups = { AddGroup.class, EditGroup.class })
    private String circuit;

    /**
     * 重要测点数量，特征选择
     */
    @NotNull(message = "重要测点数量，特征选择不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long impMeasurement;


}
